package com.njym.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.njym.dao.AbnormalOrderMapper;
import com.njym.entity.ReconcileAbnormalRec;
import com.njym.service.AbnormalOrderService;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @program: AbnormalOrderServiceImpl
 * @description:
 * @author: yh
 * @create: 2018-09-15 23:05
 **/
@Service
public class AbnormalOrderServiceImpl extends ServiceImpl<AbnormalOrderMapper, ReconcileAbnormalRec> implements AbnormalOrderService {

    @Override
    public Page<ReconcileAbnormalRec> queryAbnormalOrderDetail(Page page, String orgId, String modeId, String channelId, Integer recType, String outTradeNo, Date start, Date end) {
        return page.setRecords(baseMapper.queryAbnormalOrderDetail(page, orgId, modeId, channelId, recType, outTradeNo, start, end));
    }
}
